
import 'package:yb_zsyiji_androidflutter_pro/YBJsonToModel/YBMineModel/YBMineZhuRenOrginzationNubModel.dart';

class YBMineOrginzationManagerModel{
  String orgName;
  String orgCode;
  String parentOrgCode;
  int orgMaxNumber;
  int status;
  int orgType;
  String manageName;
  List<YBMineZhuRenOrginzationNubModel> customerMembers;

  YBMineOrginzationManagerModel({this.orgName,this.orgCode,this.parentOrgCode,this.orgMaxNumber,this.status,this.orgType,this.manageName,this.customerMembers});

  YBMineOrginzationManagerModel.fromJson(Map<String,dynamic>json){
    orgName = json['orgName'];
    orgCode = json['orgCode'];
    parentOrgCode = json['parentOrgCode'];
    orgMaxNumber = json['orgMaxNumber'];
    status = json['status'];
    orgType = json['orgType'];
    manageName = json['manageName'];
    if (json['customerMembers'] != null) {
      customerMembers = List<YBMineZhuRenOrginzationNubModel>();
      json['customerMembers'].forEach((e){
        customerMembers.add(YBMineZhuRenOrginzationNubModel.fromJson(e));
      });
    }
  }

}